package com.kgc.sportscircle.pojo;

import java.util.Date;
import java.io.Serializable;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

/**
* 描述：实体类
* @author 杨海文
* @date 2019/07/22
*/
public class Shoppingfavorite implements Serializable {

   /**ID*/
    private Integer id;
   /**商品ID*/
    private Integer productId;
   /**账户ID*/
    private Integer userId;
   /**添加时间*/
    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date addTime;
   /**备用*/
    private String beiyong;
   /**备用2*/
    private Integer beiyong2;

    public Shoppingfavorite(){}
    
    public Shoppingfavorite(Integer id,Integer productId,Integer userId,Date addTime,String beiyong,Integer beiyong2){
        this.id = id;
        this.productId = productId;
        this.userId = userId;
        this.addTime = addTime;
        this.beiyong = beiyong;
        this.beiyong2 = beiyong2;
    }

   /**获取ID属性的值*/
    public Integer getId() {
        return this.id;
    }
   /**设置ID属性的值*/
    public void setId(Integer id) {
        this.id = id;
    }
   /**获取商品ID属性的值*/
    public Integer getProductId() {
        return this.productId;
    }
   /**设置商品ID属性的值*/
    public void setProductId(Integer productId) {
        this.productId = productId;
    }
   /**获取账户ID属性的值*/
    public Integer getUserId() {
        return this.userId;
    }
   /**设置账户ID属性的值*/
    public void setUserId(Integer userId) {
        this.userId = userId;
    }
   /**获取添加时间属性的值*/
    public Date getAddTime() {
        return this.addTime;
    }
   /**设置添加时间属性的值*/
    public void setAddTime(Date addTime) {
        this.addTime = addTime;
    }
   /**获取备用属性的值*/
    public String getBeiyong() {
        return this.beiyong;
    }
   /**设置备用属性的值*/
    public void setBeiyong(String beiyong) {
        this.beiyong = beiyong;
    }
   /**获取备用2属性的值*/
    public Integer getBeiyong2() {
        return this.beiyong2;
    }
   /**设置备用2属性的值*/
    public void setBeiyong2(Integer beiyong2) {
        this.beiyong2 = beiyong2;
    }
}
